package com.temi.iot.jwt.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.Instant;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TokenValue {
    /**
     * 权限
     */
    private List<String> per;
    /**
     * userId
     */
    private long rid;
    /**
     * 微信标识
     */
    private String oid;
    /**
     * 随机数
     */
    private String ran;

    /**
     * 用户手机号码
     */
    private String phoneNum;
    /**
     * 创建时间
     */
    private Instant cte;

}
